<?php $this->load->view($view_path.'common/header') ?>
<div class="login">
	<div class="error"><?php echo $error?></div>
	<form method="post">
		<fieldset>
			<label for="email">登录邮箱:</label>
			<input type="email" size="20" name="email" id="email" value="<?php echo set_value('email')?>"/>
			<label for="password">密码:</label>
			<input type="password" size="20" name="password" id="password" value="<?php echo set_value('password')?>"/>
			<label for="repassword">重复密码:</label>
			<input type="password" size="20" name="repassword" id="repassword" value="<?php echo set_value('repassword')?>"/>
			<label for="nickname">昵称</label>
			<input type="text" size="20" name="nickname" id="nickname" value="<?php echo set_value('nickname')?>"/>
			<label for="region">所在地</label>
			<input type="text" size="20" name="region" id="region" value="<?php echo set_value('region')?>"/>
			<label for="gender">性别</label>
				<input type="radio" name="gender" value="1" <?php if (set_value('gender')==1) echo 'checked'?>>男<br />
				<input type="radio" name="gender" value="0" <?php if (set_value('gender')==0) echo 'checked'?>>女<br />
			<label for="birthdate">出生日期</label>
			<input type="text" size="20" name="birthdate" id="birthdate" value="<?php echo set_value('birthdate')?>"/>

			<button>注册</button>

		</fieldset>
	</form>
</div>
<?php $this->load->view($view_path.'common/footer') ?>